const getApi = (url) => '/main' + url;

export const CODE_SUCCESS = true;
export const GET_CATEGORYS = getApi('/categorys');
export const GET_CATEGORY_DETAIL = getApi('/category_detail');
export const GET_DEVICE_STATUS = getApi('/device_status');
export const GET_USAGE_FREQUENCY = getApi('/usage_frequency');
export const GET_TOP_USAGE = getApi('/top_usage');
export const SET_MAX_FREQUENCY = getApi('/max_normal_frequency');
